home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / nfpatchs.zip / PAT5.DOC < prev    next >
Text File  |  1991-10-25  |  2KB  |  45 lines

  1. ---------------------------------------------------------------------
  2. Nanforum Toolkit v2.0 Patch #5    10/25/91
  3. ---------------------------------------------------------------------
  4.  
  5. I didn't know that the DOS call used in the ft_tempfil() function (INT
  6. 21h FUNCTION 5Ah) not only creates the temporary file, but it leaves
  7. the file open.  In other words, a handle is used and is left in the
  8. AX register.  This could be a problem if you're low on handles
  9. because they could eventually get used up.
  10.  
  11. In order to preserve the calling convention, I just fclose() the file
  12. now if it is created.
  13.  
  14. In order to update your library, just replace TEMPFILE.PRG in your
  15. NFSRC.ZIP with the attached TEMPFILE.PRG (if you downloaded the source
  16. code).
  17.  
  18. Then, you need a library utlitity (LIB.EXE comes with many versions
  19. of DOS, and with most compilers).  If you know what to do, simply
  20. replace the .OBJ module with the new one that is included in
  21. this patch file.  
  22.  
  23. If you don't have a LIB utility, you can find one by going to the MSL 
  24. forum on CompuServe and downloading S12776.ARC.
  25.  
  26. The procedure, for those not sure:
  27.  
  28. 1.  Make a safe copy of NANFOR.LIB.  Hide it away.
  29.  
  30. 2.  Change to the directory where NANFOR.LIB is located.
  31.  
  32. 3.  Put TEMPFILE.OBJ in the same directory as NANFOR.LIB.
  33.  
  34. 4.  Type
  35.         
  36.          LIB NANFOR -+ TEMPFILE;
  37.  
  38. That should do it.  
  39.  
  40. Remember to report all strange stuff in Section 5 on Nanforum! If you
  41. have any problems, please contact me so I can help you get them
  42. fixed.
  43.  
  44. Glenn Scott [71620,1521]
  45.